https://github.com/rafgraph/spa-github-pages
Single Page Apps for GitHub Pages
script
in index.htmluse the repo-name as the basename
basename 的值 需設定為 repo-name
404.html
、index.html
add scriptnpm run deploy
404.html
、index.html
add scriptnpm run deploy